package com.sjl.web;

import org.springframework.stereotype.*;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.servlet.*;

@Controller
public class Home {

	@RequestMapping("/")
	public ModelAndView home()
	{
		System.out.println("\n\n" + 222 + "\n\n");
		return new ModelAndView("index");
	}

	@RequestMapping("/home2")
	public ModelAndView home2()
	{
		System.out.println("\n\n" + 222 + "\n\n");
		return new ModelAndView("index");
	}
}
